Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications
Handling conditions on the RUN statement
When you execute a synchronous remote procedure, all of the following conditions are handled by OpenEdge exactly as if they were raised within a local procedure call:
If you use the
NO-ERRORoption on theRUNstatement, you can obtain any information about errors that result from executing theRUNstatement using theERROR-STATUSsystem handle.A remote procedure executed persistently returns as a non-persistent procedure when the remote procedure does one of the following:
For an asynchronous remote procedure, conditions that occur on the
RUNstatement itself are handled exactly as for a synchronous remote procedure. However, unhandled conditions that occur during execution of the asynchronous remote procedure are propagate back to the client in the context of the event procedure. The result can be referenced within the event procedure using theRETURN-VALUEfunction, theERROR-STATUSsystem handle, and the associated asynchronous request handle (SELF). Any conditions that result from problems with the event procedure itself are handled in the context of thePROCESSEVENTSor blocking I/O statement that executes the event procedure. For more information on handling conditions for asynchronous remote procedures, see the "Handling the response from an asynchronous request" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |